package com.easylinkin.linkappapi.machinery.service;

import com.easylinkin.linkappapi.machinery.entity.TowerCranePosition;
import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.machinery.vo.TowerCranePositionVO;
import java.util.List;

/**
 * <p>
 * 塔吊在图纸上的位置 服务类
 * </p>
 *
 * @author Xiaoyang
 * @since 2022-11-21
 */
public interface TowerCranePositionService extends IService<TowerCranePosition> {

  List<TowerCranePositionVO> selectAll();

  TowerCranePosition findByMachineryIdAndDeviceCode(Integer machineryId, String deviceCode);

  boolean saveAll(List<TowerCranePosition> positions);

  List<TowerCranePositionVO> getListIncludeCollisionAlarmRecord();
}
